@layout("/common/_form.html",{js:["/assets/modular/company/company_add.js"]}){

<form class="layui-form" id="CompanyForm" lay-filter="CompanyForm">

    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">厂商信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div id="stepCompanyForm" lay-filter="stepCompanyForm">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">公司名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="name" placeholder="公司名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">企业法人<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="legalPerson" placeholder="企业法人" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">省份<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="provinceCode" name="provinceCode" lay-filter="provinceCode" lay-verify="required" required>
                                <option value="">请选择省份</option>
                            </select>
                        </div>
                    </div>


                    <div class="layui-inline layui-col-md12" id="city">
                        <label class="layui-form-label">城市<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="cityCode" name="cityCode" lay-filter="cityCode" lay-verify="required" required>
                                <option value="">请选择城市</option>
                            </select>
                        </div>
                    </div>


                    <div class="layui-inline layui-col-md12" id="region">
                        <label class="layui-form-label">地区<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <select id="regionCode" name="regionCode" lay-filter="regionCode" lay-verify="required" required>
                                <option value="">请选择地区</option>
                            </select>
                        </div>
                    </div>


                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">详细地址<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="address" placeholder="详细地址" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">注册资金<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="registMoney" lay-verify="number" value="0.00" onblur="value=handleNumber(this.value)" placeholder="注册资金" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">经营范围<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input name="encompass" placeholder="经营范围" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <!-- 成立时间 -->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">成立时间<span style="color: red;">*</span></label>
                        <div class="layui-input-inline">
                            <input name="establishTime" type="text" class="layui-input" id="establishTime" placeholder="请选择成立时间" lay-verify="required" required>
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">机构代码</label>
                        <div class="layui-input-block">
                            <input name="organizationCode" placeholder="请输入组织机构代码，选填" type="text" class="layui-input" />
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">营业执照号</label>
                        <div class="layui-input-block">
                            <input name="businessCode" placeholder="请输入营业执照号，选填" type="text" class="layui-input" />
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">成员规模</label>
                        <div class="layui-input-block">
                            <input name="staffSize" placeholder="请输入成员规模（单位：人），选填" type="text" value="0" lay-verify="number" class="layui-input" />
                        </div>
                    </div>

                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">建筑面积</label>
                        <div class="layui-input-block">
                            <input name="area" lay-verify="number" value="0.00" onblur="value=handleNumber(this.value)" placeholder="请输入建筑面积（单位：平米），选填" type="text" class="layui-input" />
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button  class="layui-btn" lay-submit type="submit" lay-filter="formSubmit" >&emsp;保存&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>
@}
